package cc.rengu.igas.route.core.realize.payment;

import cc.rengu.igas.route.facade.request.IntelligencePaymentSignRequest;
import cc.rengu.igas.route.facade.request.IntelligenceResultQueryRequest;
import cc.rengu.igas.route.facade.response.IntelligencePaymentSignResponse;
import cc.rengu.igas.route.facade.response.IntelligenceResultQueryResponse;

/**
 * 对外收款签约通道实现接口
 *
 * @author xlz
 * @version 1.0
 * @date 2020430
 */
public interface DstChannelPaymentSignService {

    /**
     * 对外收款签约
     *
     * @param intelligencePaymentSignRequest 智能路由代收签约请求
     * @return java.lang.Boolean
     * @throws Exception 失败或其他异常
     * @author xionglz
     * @date 2020-04-30
     **/
    IntelligencePaymentSignResponse paymentSign(IntelligencePaymentSignRequest intelligencePaymentSignRequest) throws Exception;

    /**
     * 签约状态查询
     *
     * @param resultQueryRequest
     * @return
     */
    IntelligenceResultQueryResponse query(IntelligenceResultQueryRequest resultQueryRequest) throws Exception;
}
